package com.zhiyume.page;

import java.io.Serializable;

/**
 * Created by wang on 17/10/10.
 */
public class PageReq implements Serializable {
    private String handle;//操作标志
    private long dataId=-1L;//数据id
    private int pageSize=10;//每页显示记录数
    private int currentPage=1;//当前页
    private int page=0;

    public String getHandle() {
        return handle;
    }

    public void setHandle(String handle) {
        this.handle = handle;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public long getDataId() {
        return dataId;
    }

    public void setDataId(long dataId) {
        this.dataId = dataId;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    @Override
    public String toString() {
        return "PageReq{" +
                "handle='" + handle + '\'' +
                ", dataId=" + dataId +
                ", pageSize=" + pageSize +
                ", currentPage=" + currentPage +
                ", page=" + page +
                '}';
    }
}
